package com.mall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@Accessors
@AllArgsConstructor
@NoArgsConstructor
public class ProductImg {
    @TableId(type = IdType.AUTO)
    private String id;

    private String itemId;

    private String url;

    private Integer sort;

    private Integer isMain;

    private Date createdTime;

    private Date updatedTime;

}